{% extends "./default.html" %}
{% block content %}


<!-- Featured Post  -->
{% if pageType == "index" %}
{% recommend key="featured_post",pageSize=1 %}
{% for item in featured_post %}
<article id="banner">
  <div class="content">
    <header>
      <h1><a href="{{item.url}}">{{item.title}}</a></h1>
      {% if item.discription %}<p>{{item.discription}}</p>{% endif %}
    </header>
    {{item.discription}}
    <ul class="actions">
      <li><a href="{{item.url}}" class="button big">Learn More</a></li>
    </ul>
  </div>
  {% if item.sImg %}
  <a href="{{item.url}}" class="image object">
    <img src="{{item.sImg}}" alt="{{item.title}}" />
  </a>
  {% endif %}
</article>
{% endfor %}
{% endif %}

<!-- Posts  -->
<section>

  <header class="major">
    <h2>Recent posts</h2>
  </header>
  <!-- Pagination  -->
  {% include "./public/itemListTemp.html" %}

</section>


{% endblock %}